package org.jeecg.basic.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 打印机配置
 * @Author: LiCY
 * @Date:   2023-12-18
 * @Version: V1.0
 */
@Data
@TableName("mes_printer_cfg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mes_printer_cfg对象", description="打印机配置")
public class MesPrinterCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**产线或产线组*/
	@Excel(name = "产线或产线组", width = 15, dictTable = "mes_line_cfg", dicText = "LINE", dicCode = "LINE")
	@Dict(dictTable = "mes_line_cfg", dicText = "LINE", dicCode = "LINE")
    @ApiModelProperty(value = "产线或产线组")
    @MppMultiId
    private String line;
	/**打印机名称*/
	@Excel(name = "打印机名称", width = 15)
    @ApiModelProperty(value = "打印机名称")
    @MppMultiId
    private String name;
	/**打印机类型*/
	@Excel(name = "打印机类型", width = 15)
    @ApiModelProperty(value = "打印机类型")
    private String type;
	/**打印机参数*/
	@Excel(name = "打印机参数", width = 15)
    @ApiModelProperty(value = "打印机参数")
    private String parameter;
	/** 时间戳*/
	@Excel(name = " 时间戳", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = " 时间戳")
    private Date ctime;
}
